Skip to content

Move metalink files to repo root#581

Merged
aramprice merged 3 commits intoubuntu-jammyfrom
metalink-cleanup
Apr 24, 2026
Merged

Move metalink files to repo root#581
aramprice merged 3 commits intoubuntu-jammyfrom
metalink-cleanup

Conversation

@aramprice
Copy link
Copy Markdown
Member

@aramprice aramprice commented Apr 24, 2026

  • delete unused *.meta4 files
  • delete *.meta4 files for unsupported stemcells

NOTE: requires re-configuring the pipeline!

Next steps:

  • merge forward to unbunt-noble
  • move bosh-stemcell/image-metalinks/ubuntu-noble/ubuntu-noble.meta4 -> image-metalinks/ubuntu-noble/
  • keep image-metalinks/ubuntu-jammy/ubuntu-jammy.meta4 in both branches
  • newer stemcell-line branches will have both ubuntu-jammy/ and ubuntu-noble/ metalinks by dint of the "merge forward" pattern

- delete unused *.meta4 files
- delete *.meta4 files for unsupported stemcells
Copilot AI review requested due to automatic review settings April 24, 2026 22:15
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 24, 2026

Warning

Rate limit exceeded

@aramprice has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 50 minutes and 9 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 50 minutes and 9 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 35b93148-b51d-4371-9d23-ebfeb6036e7b

📥 Commits

Reviewing files that changed from the base of the PR and between 1bffe0b and 6addedd.

📒 Files selected for processing (4)
  • README.md
  • Rakefile
  • ci/tasks/build.sh
  • ci/tasks/os-images/build.sh

Walkthrough

Multiple metalink XML manifest files under bosh-stemcell/image-metalinks (for ubuntu-bionic, ubuntu-jammy, ubuntu-xenial, ubuntu-noble, and several versioned meta4 files) were deleted, removing file entries, download URLs, sizes, and checksum metadata. CI configuration and build scripts were updated to use a different repo path for metalinks (pointing to bosh-linux-stemcell-builder/image-metalinks), task input os-image-tarball was made required, and rake tasks and build scripts were modified to require and pass an explicit local OS image path instead of performing remote OS-image downloads.

Suggested reviewers

  • mkocher
  • rkoster
  • neddp
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description clearly states the objectives (delete unused/unsupported metalink files) and provides concrete next steps. However, it does not follow the required 'Merge Forward' template structure specified in the repository's description template. Restructure the description to follow the merge-forward strategy template: explicitly mention which branch this PR targets, which branch(es) to merge into next, and provide step-by-step merge instructions as outlined in the template.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Move metalink files to repo root' is concise and directly summarizes the primary change: relocating metalink XML files from nested directories to the repository root.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch metalink-cleanup

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

coderabbitai[bot]
coderabbitai Bot previously approved these changes Apr 24, 2026
@aramprice aramprice requested review from mkocher and selzoc April 24, 2026 22:20
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR relocates OS image metalink (*.meta4) files from the bosh-stemcell/ subtree to a repo-root image-metalinks/ directory and removes a set of unused/unsupported metalinks, with corresponding updates to CI task/pipeline paths.

Changes:

  • Add the ubuntu-jammy metalink under image-metalinks/ at the new location.
  • Update the release-metadata task to read the USN metalink from the new repo-root path.
  • Update the Concourse builder pipeline metalink-repository resource URI and git ignore_paths to reflect the new directory layout; remove legacy/unsupported *.meta4 files.

Reviewed changes

Copilot reviewed 13 out of 14 changed files in this pull request and generated no comments.

File Description
image-metalinks/ubuntu-jammy/ubuntu-jammy.meta4 Adds the jammy metalink in the new repo-root metalinks directory structure.
ci/tasks/build-release-metadata.sh Updates USN metalink path to match the new image-metalinks/ location.
ci/pipelines/builder.yml Updates metalink-repository git URI to point at repo-root image-metalinks/ and adjusts git ignore paths accordingly.
bosh-stemcell/image-metalinks/*.meta4 (and subpaths) Removes legacy metalinks (including unsupported/unused ones) from the old location.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread ci/pipelines/builder.yml
@github-project-automation github-project-automation Bot moved this from Pending Merge | Prioritized to Waiting for Changes | Open for Contribution in Foundational Infrastructure Working Group Apr 24, 2026
Remove conditional path in CI that could download the OS_IMAGE using
`meta4 file-download`. Remove rake tasks which supported this path, and
remove references from docs.
selzoc
selzoc previously approved these changes Apr 24, 2026
@github-project-automation github-project-automation Bot moved this from Waiting for Changes | Open for Contribution to Pending Merge | Prioritized in Foundational Infrastructure Working Group Apr 24, 2026
@aramprice aramprice dismissed stale reviews from selzoc and coderabbitai[bot] via 1bffe0b April 24, 2026 23:19
@aramprice aramprice requested a review from selzoc April 24, 2026 23:21
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@README.md`:
- Around line 146-150: Update the README text so the compound modifier is
hyphenated: change occurrences of "stemcell specific tests" (in the description
of the stemcell:build rake task and related lines) to "stemcell-specific tests"
to correctly form the pre-noun modifier; keep surrounding wording intact and
only add the hyphen.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: d4f364fb-5106-46a0-be52-0023a34f2ff1

📥 Commits

Reviewing files that changed from the base of the PR and between b5ffe31 and 1bffe0b.

📒 Files selected for processing (5)
  • README.md
  • Rakefile
  • ci/tasks/build.sh
  • ci/tasks/build.yml
  • ci/tasks/os-images/build.sh
💤 Files with no reviewable changes (1)
  • ci/tasks/build.yml

Comment thread README.md Outdated
@github-project-automation github-project-automation Bot moved this from Pending Merge | Prioritized to Waiting for Changes | Open for Contribution in Foundational Infrastructure Working Group Apr 24, 2026
@aramprice aramprice requested a review from Copilot April 24, 2026 23:27
@github-project-automation github-project-automation Bot moved this from Waiting for Changes | Open for Contribution to Pending Merge | Prioritized in Foundational Infrastructure Working Group Apr 24, 2026
@aramprice aramprice merged commit d21a0aa into ubuntu-jammy Apr 24, 2026
12 checks passed
@github-project-automation github-project-automation Bot moved this from Pending Merge | Prioritized to Done in Foundational Infrastructure Working Group Apr 24, 2026
@aramprice aramprice deleted the metalink-cleanup branch April 24, 2026 23:33
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 18 out of 19 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Rakefile
Comment on lines +45 to +46
desc 'Build a stemcell, requires `os_image_path` pointing at an image created via `stemcell:build_os_image`'
task :build, [:infrastructure_name, :hypervisor_name, :operating_system_name, :operating_system_version, :os_image_path, :build_number] do |_, args|
Copy link

Copilot AI Apr 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stemcell:build now requires os_image_path, but the task doesn’t validate that this argument is present and points to an existing file. Adding an explicit check (and a clear error message) would make failures much easier to diagnose (especially in CI where a missing/empty os-image-tarball input would otherwise surface as less obvious downstream errors).

Copilot uses AI. Check for mistakes.
Comment thread README.md
Comment on lines +148 to +150
the first time you create your docker container**, but every time after, as
long as you do not destroy the container, you should be able to run the
specific tests:
Copy link

Copilot AI Apr 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor grammar: “everytime” should be “every time”.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants